package com.wtp.wallpaper.controller;

import org.reflections.Reflections;
import org.springframework.scheduling.support.CronExpression;

import java.util.List;
import java.util.Set;

public class testcron {

    public static void main(String[] args) {

/*        Reflections reflections = new Reflections("com.wtp.wallpaper.task");


        Set<Class<? extends Runnable>> takes = reflections.getSubTypesOf(Runnable.class);
        System.out.println(takes.size());
        takes.forEach(clazz -> System.out.println(clazz.getName()));*/

        List<Integer> integers = List.of(1, 2, 3, 4, 5);
        List<Integer> integers1 = integers.subList(0, 1);
        integers1.forEach(System.out::println);
    }
}
